<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/7/2
  Time: 19:24
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>请求头</title>
</head>
<body>
<%
    String header=request.getHeader("user-agent");
    out.print("<h3>"+header+"</h3>");
    header.indexOf("ie");
%>
</body>
</html>
